package org.jeecg.modules.basic.entrance.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 推送设置
 * @Author: jeecg-boot
 * @Date:   2022-09-22
 * @Version: V1.0
 */
@Data
@TableName("lwgy_entrance_guard")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_entrance_guard对象", description="推送设置")
public class LwgyEntranceGuard implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**推送类型*/
	@Excel(name = "推送类型", width = 15, dicCode = "push_type")
	@Dict(dicCode = "push_type")
    @ApiModelProperty(value = "推送类型")
    private java.lang.String pushType;
	/**推送方式*/
	@Excel(name = "推送方式", width = 15, dicCode = "msgType")
	@Dict(dicCode = "msgType")
    @ApiModelProperty(value = "推送方式")
    private java.lang.String pushFunction;//1短信2邮件3微信4系统
	/**接收人员*/
	@Excel(name = "接收人员", width = 15, dictTable = "sys_role", dicText = "role_name", dicCode = "role_code")
	@Dict(dictTable = "sys_role", dicText = "role_name", dicCode = "role_code")
    @ApiModelProperty(value = "接收人员")
    private java.lang.String receiving;
	/**门禁时间*/
	@Excel(name = "门禁时间", width = 15)
    @ApiModelProperty(value = "门禁时间")
    private java.lang.String entranceTime;
	/**有效天数*/
	@Excel(name = "有效天数", width = 15)
    @ApiModelProperty(value = "有效天数")
    private java.lang.String effective;
}
